<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8" http-equiv="content-type" content="text/html">
    <title>国家代码</title>
</head>
<body>
    <div>
        <ul th:each="country:${countrys}">
            <li>
                <p th:text="'代码: '+${country.countryname}"></p>
            </li>
        </ul>
    </div>
</body>
</html>